<!DOCTYPE html>
<html lang="en">
<!--<head th:replace="fragments/layout::head">
</head>-->
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>TickerManageSystem | Registration Page</title>

  <!-- Google Font: Source Sans Pro -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="/adminlte/plugins/fontawesome-free/css/all.min.css">
  <!-- icheck bootstrap -->
  <link rel="stylesheet" href="/adminlte/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
  <!-- Theme style -->
<!--  <link rel="stylesheet" href="/adminlte/dist/css/adminlte.min.css">-->
  <link rel="stylesheet" href="https://cdn.staticfile.org/admin-lte/3.0.5/css/adminlte.min.css">
</head>
<body class="hold-transition register-page" style="  background-image: url( 'https://lyking90.oss-cn-shenzhen.aliyuncs.com/mybg.jpg'); background-repeat: no-repeat;
      background-size: cover;">
<div class="register-box" style="background:white;border-radius:20px; border:1px solid grey;padding: 22px;" id="app">
  <div class="register-logo">
    <img src="https://lyking90.oss-cn-shenzhen.aliyuncs.com/smile.png" alt="logo" height="50px" width="50px" style="display: inline-block;margin-top: -5px;">
    <a href="#"><b>票据管理系统</b></a>
  </div>

  <div class="card">
    <div class="card-body register-card-body">

      <p class="login-box-msg text-bold text-lg">注 册</p>


        <div class="input-group mb-3">
          <input type="text" class="form-control" v-model="user.username" placeholder="用户名">
          <div class="input-group-append">
            <div class="input-group-text">
              <span class="fas fa-user"></span>
            </div>
          </div>
        </div>
        <div class="input-group mb-3">
          <input type="email" class="form-control" v-model="user.email" placeholder="邮箱">
          <div class="input-group-append">
            <div class="input-group-text">
              <span class="fas fa-envelope"></span>
            </div>
          </div>
        </div>
        <div class="input-group mb-3">
          <input type="password" class="form-control" v-model="user.password" placeholder="密码">
          <div class="input-group-append">
            <div class="input-group-text">
              <span class="fas fa-lock"></span>
            </div>
          </div>
        </div>
        <div class="input-group mb-3">
          <input type="password" class="form-control" v-model="user.password2" placeholder="再次输入密码">
          <div class="input-group-append">
            <div class="input-group-text">
              <span class="fas fa-lock"></span>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-8">
            <div class="icheck-primary">
              <input type="checkbox" id="agreeTerms" name="terms" value="agree">
              <label for="agreeTerms">
               我同意<a href="#">网站协议</a>
              </label>
            </div>
          </div>
          <!-- /.col -->
          <div class="col-4">
            <button type="submit" class="btn btn-primary btn-block" @click="register">注册</button>
          </div>
          <!-- /.col -->
        </div>


<!--      <div class="social-auth-links text-center">-->
<!--        <p>- OR -</p>-->
<!--        <a href="#" class="btn btn-block btn-primary">-->
<!--          <i class="fab fa-facebook mr-2"></i>-->
<!--          Sign up using Facebook-->
<!--        </a>-->
<!--        <a href="#" class="btn btn-block btn-danger">-->
<!--          <i class="fab fa-google-plus mr-2"></i>-->
<!--          Sign up using Google+-->
<!--        </a>-->
<!--      </div>-->

      <a href="/login" class="text-center">已有账号？去登录</a>
    </div>
    <!-- /.form-box -->
  </div><!-- /.card -->
</div>
<!-- /.register-box -->
<!--<footer th:replace="fragments/layout::footer"></footer>-->
<script src="/adminlte/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="/adminlte/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="/adminlte/dist/js/adminlte.min.js"></script>

<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>

<script src="/site/js/register.js"></script>
</body>
</html>
